export const getMock = () =>{
	return new Promise((res, rej) => {
		uni.request({
			url: 'https://console-mock.apipost.cn/app/mock/project/7d696af2-fd61-4639-9bcc-12e1fc6a7069/app/mock/project/7d696af2-fd61-4639-9bcc-12e1fc6a7069/index',
			method: 'GET',
			data: {

			},
			header:{

			},
			success(responese) {
				res(responese)
			},
			fail() {
				uni.showToast({
					title: '数据获取失败',
					icon: 'err'
				})
			}
		})
	})
}
export const getMock2 = () =>{
	return new Promise((res, rej) => {
		uni.request({
			url: 'https://console-mock.apipost.cn/app/mock/project/7d696af2-fd61-4639-9bcc-12e1fc6a7069/equimpent',
			method: 'GET',
			data: {

			},
			header:{

			},
			success(responese) {
				res(responese)
			},
			fail() {
				uni.showToast({
					title: '数据获取失败',
					icon: 'err'
				})
			}
		})
	})
}
export const getMock3 = () =>{
	return new Promise((res, rej) => {
		uni.request({
			url: 'https://console-mock.apipost.cn/app/mock/project/7d696af2-fd61-4639-9bcc-12e1fc6a7069/close',
			method: 'GET',
			data: {

			},
			header:{

			},
			success(responese) {
				res(responese)
			},
			fail() {
				uni.showToast({
					title: '数据获取失败',
					icon: 'err'
				})
			}
		})
	})
}
export const getMock4 = () =>{
	return new Promise((res, rej) => {
		uni.request({
			url: 'https://console-mock.apipost.cn/app/mock/project/7d696af2-fd61-4639-9bcc-12e1fc6a7069/stop',
			method: 'GET',
			data: {

			},
			header:{

			},
			success(responese) {
				res(responese)
			},
			fail() {
				uni.showToast({
					title: '数据获取失败',
					icon: 'err'
				})
			}
		})
	})
}